package com.message.resp;

import com.constant.MessageType;
import com.message.DefaultMessage;
import lombok.Data;

import java.util.Set;

@Data
public class ChatGroupCreateResp extends DefaultMessage {

    /**
     * 群主名字
     */
    private String chatGroupMasterName;

    /**
     * 组内成员
     * */
    private Set<String> groupMembers;

    /**
     * 群聊名称
     */
    private String chatGroupName;


    @Override
    public int getMessageType() {
        return MessageType.GROUP_CREATE_RESPONSE;
    }

    public ChatGroupCreateResp() {
    }

    public ChatGroupCreateResp(String chatGroupMasterName, Set<String> groupMembers,String chatGroupName) {
        this.chatGroupMasterName = chatGroupMasterName;
        this.groupMembers = groupMembers;
        this.chatGroupName = chatGroupName;
    }
}
